package singleton;

public class Factory {
	private Factory(){
		
	}
	public static void main(String[] args) {
		System.out.println(Factory.getInstance().hashCode()==Factory.getInstance().hashCode());
	}
	public static Factory getInstance(){
		return new Factory();
	}
}
